package com.example.demo.service.Impl;

import com.example.demo.mapper.AcceptsMapper;
import com.example.demo.module.entity.Accepts;
import com.example.demo.service.AcceptsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AcceptsServiceImpl implements AcceptsService {
    @Autowired
    private AcceptsMapper acceptsMapper;

    @Override
    public List<Accepts> findAll() throws Exception {
        return acceptsMapper.selectAll();
    }
}
